#员工基础信息的基类
class Employee:
    def __init__(self, name, id):
        self.name = name
        self.id = id
    def print_name_id(self):
        print(self.name)
        print(self.id)
#全职员工
class FullTimeEmployee(Employee):
    def __init__(self, name, id,month_salary):
        super().__init__(name, id)
        self.mm=month_salary
class PartTimeEmployee(Employee):
    def __init__(self, name, id,daily_salary):
        super().__init__(name, id)
        self.nn=daily_salary
F=FullTimeEmployee("wwp","111","month")
F.print_name_id()
P=PartTimeEmployee("www","222","daily")
P.print_name_id()